﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel;
using Sisocana.Core.Interfaces;

namespace Sisocana.Core.Models
{
    public class ImagenAsociadoModel : IImagenAsociadoModel
    {
        public int id { get; set; }

        [DisplayName("API Key")]
        [Required(ErrorMessage = "Youtube APIKey required")]
        [StringLength(150,ErrorMessage = "The maximum length is 150")]
        public string apiKey { get; set; }

        [DisplayName("SecretKey")]
        [Required(ErrorMessage = "Youtube APIKey required")]
        [StringLength(150,ErrorMessage = "The maximum length is 150")]
        public string appSecret { get; set; }

        [DisplayName("Display Amount")]
        [Required(ErrorMessage = "Display amount")]
        public int cantVisualizar { get; set; }

        [DisplayName("Tag Search")]
        [Required(ErrorMessage = "Tag Search required")]
        [StringLength(150,ErrorMessage = "The maximum length is 50")]
        public string tagBusqueda { get; set; }

        [DisplayName("Width of the Gallery")]
        [Required(ErrorMessage = "Width required")]
        public int width { get; set; }
        [DisplayName("Heigth of the Gallery")]
        [Required(ErrorMessage = "Heigth required")]
        public int heigth { get; set; }

        [DisplayName("Select the Gallery")]
        public string photoGallery { get; set; }

        public string BackgroundShellColor { get; set; }

        public int idSitio { get; set; }
        public string ImagenAsociadoName { get; set; }
    }
}
